gdkwindow: Simplify check for damaging offscreen windows
authorJasper St. Pierre <jstpierre@mecheye.net>
Mon, 23 Jun 2014 16:23:48 +0000 (12:23 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Mon, 23 Jun 2014 19:00:01 +0000 (15:00 -0400)
commit06cfaea5535a5f7c1dff47990338b03513f870e6
tree3c5c2c2d76f6ecbd5bc23ed3ba86a0c377012a17
parentb99dc9eede80166cf40b7d9c951c5c3f459eccd6
gdkwindow: Simplify check for damaging offscreen windows

If a window both has an impl and its impl_window is of type offscreen,
that must mean that it is the offscreen window, and the impl window is
itself. We can reduce the indirection here and make it more clear.
gdk/gdkwindow.c